package xyz.renyumeng.xkm.client.order;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import xyz.renyumeng.xkm.model.shop.ProductTypeInfo;

/**
 * @author renyumeng
 * @date Created in 14:52 2023/7/1
 */

@RestController
@FeignClient(
        value = "service-order",
        contextId = "type"
//        configuration = FeignConfig.class
)
@RequestMapping("/admin/shop/type/inner")
public interface TypeFeignClient {

    @GetMapping("/inner/{id}")
    ProductTypeInfo innerGetTypeById(@PathVariable Long id);
}
